﻿using System;
using YinfangWeb.Common;

namespace YinfangWeb.Model
{
	/// <summary>
	/// ProductFavorite
	/// </summary>
    [Serializable]
	public class ProductFavorite
	{
		/// <summary>
		/// ProductFavoriteID
        /// </summary>
        [FieldName("ProductFavoriteID")]		
		public int ProductFavoriteID
		{
			get;
			set;
		}
        
		/// <summary>
		/// FavoriteState
        /// </summary>
        [FieldName("FavoriteState")]		
		public int FavoriteState
		{
			get;
			set;
		}
        
		/// <summary>
		/// ProductDataID
        /// </summary>
        [FieldName("ProductDataID")]		
		public int ProductDataID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegUserID
        /// </summary>
        [FieldName("RegUserID")]		
		public int RegUserID
		{
			get;
			set;
		}
        
		/// <summary>
		/// RegDateTime
        /// </summary>
        [FieldName("RegDateTime")]		
		public DateTime RegDateTime
		{
			get;
			set;
		}
        
        public ProductFavorite Clone()
        {
            return (ProductFavorite)this.MemberwiseClone();
        }
        
        public ProductFavorite()
        {
            RegDateTime = ConvertHelper.DefaultDate;
        }
	}
}
